﻿using System.ComponentModel;

namespace InputBoxes.Controls
{
    public class ParsingReferenceTypeInputBoxBase<T> : ParsingInputBoxBase
        where T : class
    {
        protected virtual T Parse(string text)
        {
            return null;
        }

        [Browsable(false)]
        public T Value
        {
            get { return (T)UntypedValue; }
            set { SetUntypedValue(value); }
        }
    }
}